<?php
/**
 * 
 * User/IndexAction.class.php (设计师模块)
 *
 * @package      	jgsat
 * @author          liuxun QQ:147613338 <admin@jgsat.cn>
 * @copyright     	Copyright (c) 2008-2011  (http://www.jgsat.com)
 * @license         http://www.jgsat.com/license.txt
 * @version        	jgsat企业网站管理系统 v2.1 2012-10-08 jgsat.cn $
 */
if(!defined("JGsat")) exit("Access Denied");
class GuestbookaddAction extends BaseAction
{

	function _initialize()
    {	
		parent::_initialize();
        $_GET =get_safe_replace($_GET);
        $this->url='index.php?g=User&m=Guestbook&a=index';


        $this->dao = M('User');
        $this->assign('bcid',0);
        $user = $this->dao->find($this->_userid);
        $this->user=$user;
        $this->assign('vo',$user);
		unset($_POST['status']);
		unset($_POST['groupid']);
		unset($_POST['amount']);
		unset($_POST['point']);

        
    }

    public function index()
    {


          $this->display();
    }
    


    //预约
    public function add()
    {
        $this->assign('title','提交设计需求');
        $designid = $_GET['designid'];
        if ($designid) {
         $this->assign ('designid',$designid);
    }
        $this->display();
    }





}

